<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .logo {
            position: relative;
            margin: 100px auto;
            width: 49px;
            height: 49px;
            line-height: 100px;
            background-color: #ff6700;
        }

        .logo::before {
            content: "";
            position: absolute;
            width: 49px;
            height: 49px;
            background: url(images/tudou.jpg) no-repeat center;
        }

        .logo::after {
            content: "";
            position: absolute;
            top: 0;
            left: 49px;
            width: 49px;
            height: 49px;
            transition: all 0.5s;
            background: url(images/video.PNG) no-repeat right;
        }

        .logo:hover::after {
            left: 0;
        }

        .logo:hover::before {
            left: -49px;
        }
    </style>
</head>

<body>
    <div class="logo"></div>
</body>

</html>